﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace AgentSystem.AgentCreator.Sbpel
{
    /// <summary>
    /// Custom sBPEL Exception.
    /// </summary>
    [Serializable]
    public class SbperException : Exception
    {
        public SbperException() : base() {}

        public SbperException(string message) : base(message) {}

        public SbperException(string format, params object[] args) : base(string.Format(format, args)) { }

        public SbperException(string message, Exception innerException) :base(message, innerException) {}

        public SbperException(string format, Exception innerException, params object[] args) : base(string.Format(format, args), innerException) { }

        protected SbperException(SerializationInfo info, StreamingContext context) : base(info, context) {}
    }
}
